package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.blb.dao.ZRealnameMapper;
import com.blb.dto.ZRealnameExample;
import com.blb.dto.ZRealname;
import com.blb.service.ZRealnameService;
@Service
public class ZRealnameServiceImpl implements ZRealnameService{

    @Resource
    private ZRealnameMapper zRealnameMapper;

    @Override
    public long countByExample(ZRealnameExample example) {
        return zRealnameMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZRealnameExample example) {
        return zRealnameMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer rnid) {
        return zRealnameMapper.deleteByPrimaryKey(rnid);
    }

    @Override
    public int insert(ZRealname record) {
        return zRealnameMapper.insert(record);
    }

    @Override
    public int insertSelective(ZRealname record) {
        return zRealnameMapper.insertSelective(record);
    }

    @Override
    public List<ZRealname> selectByExample(ZRealnameExample example) {
        return zRealnameMapper.selectByExample(example);
    }

    @Override
    public ZRealname selectByPrimaryKey(Integer rnid) {
        return zRealnameMapper.selectByPrimaryKey(rnid);
    }

    @Override
    public int updateByExampleSelective(ZRealname record,ZRealnameExample example) {
        return zRealnameMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(ZRealname record,ZRealnameExample example) {
        return zRealnameMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZRealname record) {
        return zRealnameMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZRealname record) {
        return zRealnameMapper.updateByPrimaryKey(record);
    }

}
